    <!-- Copyright (C) 2025 陈子涵
    Contact information:
    Tel:18750386615
    Email:2502820816@qq.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>. -->

    
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <!-- 添加移动端适配视口设置 -->
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <link href="{{ url_for('static', filename='css.css') }}" rel="stylesheet">
    <title>积分管理系统</title>
</head>
<body>
<div style="display: flex; justify-content: space-between; align-items: center;">
    <div>
        <h1>欢迎回来，{{username}}</h1>
        <h2>现在积分是：{{point}}</h2>
    </div>
</div>
<div style="text-align: right; margin-right: 50px;">
    <a href="/logout">退出登录</a><br>
    <a href="/delete_account">注销账户</a>
</div>
<div style="display: flex; width: 100%; height: 100%;">
    <table id="reward">
        <tr class="table-header">
            <td>
                <h3>奖励名称</h3>
            </td>
            <td>
                <h3>分值</h3>
            </td>
        </tr>
        {{reward|safe}}
        <tr>
            <td>
                <a href="add_reward">添加新奖励</a>
            </td>
            <td>
                <a href="remove?type=reward">删除奖励</a>
            </td>
        </tr>
    </table>

    <table id="task">
        <tr class="table-header">
            <td>
                <h3>任务名称</h3>
            </td>
            <td>
                <h3>分值</h3>
            </td>
            <td>
                <h3>所需时间</h3>
            </td>
            <td>
                <h3>优先级</h3>
            </td>
            <td>
                <h3>重复 </h3>
            </td>
        </tr>
        {{task|safe}}
        <tr>
            <td colspan="3">
                <a href="add_task">添加新任务</a>
            </td>
            <td colspan="2">
                <a href="remove?type=task">删除任务</a>
            </td>
        </tr>
    </table>
</div>
<footer class="footer">
    <p style="text-align: center;"><a href="/about">关于本应用</a></p>
</footer>
</body>
</html>